#pragma once 

#include <sys/sys_singleton.h>
#include <sys/sys_asy.h>
#include <string>

class sys_global_info
{
public:
	sys_global_info(void);
	~sys_global_info(void);

public:
	static sys_global_info*& instance ()
	{
		return xy::singleton<sys_global_info, xy::thread_mutex>::instance();
	}
private:
	void __init();
public:
	std::string		app_path_;
	std::string		app_root_path_;
	std::string		plugins_root_path_;
	//std::string		modelues_config_fn_;
	//std::string		app_temp_path_;
};
